package com.apex.restful.domain;
import com.apex.restful.entity.TBsdtTechnological;
import com.edu.orm.repository.CustomRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

/**
 * 服务管理
 */
public interface TechnologicalProcessRepository extends CustomRepository<TBsdtTechnological,Long> {

    @Modifying(clearAutomatically = true)
    @Query("update TBsdtTechnological t set t.fwl=t.fwl+1 where t.id=:id")
    void updateById(@Param("id") Long id);
}
